Using the procertm utility
If you are using HTTPS for communications with a remote FathomTrendDatabase, you use the demo keystore —
demoTrendTrustKeystore.zip— to validate the SSL connection from the Fathom installations that are trending to a remote management console (the location of the FathomTrendDatabase). The Digital Certificate that identifies the Certificate Authority who issued the remote management console's digital certificate must be in thedemoTrendTrustKeystore.zipfor the validation to succeed.The
demoTrendTrustKeystore.zipfile contains a number of trusted root digital certificates for a Fathom demo and common, public Certificate Authorities. It is not typically necessary for you to modify the file; however, thedemoTrendTrustKeystore.zipfile contains neither the digital certificate for every public Certificate Authority nor certificates for any privately run company Certificate Authority.You can obtain the distributed list of certificates by running the procertm utility and listing the contents of the
demoTrendTrustKeystore.zipfile certificate store. You can also use the procertm utility to add any Certificate Authority's root certificate to thedemoTrendTrustKeystore.zip,if not already there.If the remote management console's issuing Certificate Authority is not already present, you must first follow these steps:
- Contact the CA who issued the management console's digital certificate and obtain the CA's trusted Root Digital Certificate. This may be returned in either PEM (
.0,.txt, or.pem) or DER (.ceror.crt) format.- If the CA root digital certificate is in a PEM format (with a file extension of
.0,.txt, or.pem), use the procertm tool to convert it to DER format (identified with a.cerfile extension).- Use the procertm tool to import the DER-formatted CA digital certificate into the
demoTrendTrustKeystore.zipcertificate store.Managing the trust keystore with procertm
You run the procertm utility from a command line using the following syntax:
in which:
The path to the digital certificate you want to import, export, or remove. This is used with thecert-i,-e, and-roptions. When importing, the path is relative to the working directory. When exporting or removing digital certificates fromcert_store, the path is the full digital certificate path specified incert_store. Subdirectories should be specified with a forward slash (/). You can use multicharacter (*) and single-character (?) wildcards in thecertfilename and file extension.The path to thecert_storeziporjarcertificate store file. If the certificate store file does not exist, and you are importing digital certificates, a new file is created.When you run procertm, it performs the options in the following order:
- Imports any certificates specified with the
-ioption from the working directory intocert_store. If a certificate is not found, a warning message displays.- Exports any certificates specified with the
-eoption fromcert_storeto the working directory. If a certificate is not found, a warning message displays.- Removes any certificates specified with the
-roption fromcert_store. If a certificate is not found, a warning message displays.- Shows the resulting
cert_storefile contents, if the-loption is specified.- Prints any digital certificate list information, if the
-poption is specified.You can provide the following options in any combination and in any order:
Prints verbose information about the progress of the digital certificate's import and export. When used with-v-l, additional digital certificate field information is printed.Lists the contents of the-lcert_storefile after all import, export, and remove operations are completed.Prints the digital certificate list the-pcert_storecontents to the filecert_store.dcl, after all import, export and remove operations are completed.Imports certificate file(s) matching-icertcerttocert_storefrom the working directory. Thecert_storefile is created as required. You can specify this option multiple times. See the definition ofcert.Exports the certificate file(s) matching-e certcertfromcert_storeto the working directory. Any subdirectories are created if required. You can specify this option multiple times. See the definition ofcert.Removes the certificate file(s) matching-r certcertfromcert_store. You can specify this option multiple times. See the definition ofcert.Sets the working directory path where certificates are imported from or exported to. The default is the current working directory.-dConverting digital certificates with procertm
You can use the procertm utility to convert digital certificates between
.DERand.PEMfile formats. To convert files from one file format to the other, use the following command line syntax:
in which:
The digital certificate whose file format you want to convert.in_certThe file format to which you want to convert the digital certificate. Procertm performs the conversion based on the file-extension type. For example, ifout_certin_certhas a file extension type of.crtandout_certhas a file extension type of.pem,in_certis converted from.derto.pemformat and written to the fileout_cert.
|
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |